package com.ruoyi.project.person.employee.controller;

import com.ruoyi.framework.web.controller.BaseController;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 员工管理控制类
 */
@Controller
@RequestMapping("/person/employee")
public class PersonEmployeeController  extends BaseController {
    private String prefix = "person/employee";

    @RequiresPermissions("person:employee:view")
    @GetMapping()
    public String employee()
    {
        return prefix + "/employee";
    }
}
